package chen.web.user.event;

import chen.web.event.Event;
import chen.web.user.Account;
import chen.web.user.Role;

public class RoleChangedEvent implements Event{

	private Account account;
	private Role oldRole;
	
	public RoleChangedEvent(Account account, Role oldRole){
		this.account = account;
		this.oldRole = oldRole;
	}
	
	public Account getAccount(){
		return account;
	}
	
	public Role getOldRole(){
		return oldRole;
	}
}
